home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 February: Tool Chest / Dev.CD Feb 00 TC.toast / pc / what's new? / sample code / games / isp sample / makefile < prev   
Encoding:
Makefile  |  1999-07-12  |  5.1 KB  |  185 lines

  1. #
  2. #    File:        Makefile
  3. #
  4. #    Contains:    xxx put contents here xxx
  5. #
  6. #    Version:    xxx put version here xxx
  7. #
  8. #    Copyright:    © 1999 by Apple Computer, Inc., all rights reserved.
  9. #
  10. #    File Ownership:
  11. #
  12. #        DRI:                xxx put dri here xxx
  13. #
  14. #        Other Contact:        xxx put other contact here xxx
  15. #
  16. #        Technology:            xxx put technology here xxx
  17. #
  18. #    Writers:
  19. #
  20. #        (BWS)    Brent Schorsch
  21. #
  22. #    Change History (most recent first):
  23. #
  24. #       <SP1>      7/1/99    BWS        first checked in
  25. #
  26.  
  27. #    To build ISp sample, set the current directory to the directory with this file
  28. #    then do 'BuildProgram ISp_Sample'
  29.  
  30. #    SetDirectory xxxxxxxxxx
  31. #    BuildProgram ISp_Sample
  32.  
  33.  
  34. MAKEFILE        = Makefile
  35. •MondoBuild•    = {MAKEFILE}  # Make blank to avoid rebuilds when makefile is modified
  36.  
  37. ResDir            = :Resources:
  38. SrcDir            = :Source:
  39.  
  40. Includes         =                                    ∂
  41.                 -i {SrcDir}                            ∂
  42.                 -i {ResDir}
  43.  
  44. Sym•PPC            = 
  45. ObjDir•PPC        = :Objects:
  46.  
  47. DoC                = MrC
  48. DoCPP            = MrCPP
  49.  
  50. COpts            = {Includes} {Sym•PPC} -proto strict -align power -opt speed -tb on
  51. CPPOpts            = {Includes} {Sym•PPC} -align power -opt speed -tb on
  52.  
  53. Objects•PPC        = ∂
  54.                 "{ObjDir•PPC}AboutBox.c.x"                ∂
  55.                 "{ObjDir•PPC}AppleEventHandler.c.x"        ∂
  56.                 "{ObjDir•PPC}CModalDialog.cp.x"            ∂
  57.                 "{ObjDir•PPC}ErrorAlert.c.x"            ∂
  58.                 "{ObjDir•PPC}EventHandler.cp.x"            ∂
  59.                 "{ObjDir•PPC}ISp_Sample.c.x"            ∂
  60.                 "{ObjDir•PPC}main.c.x"                    ∂
  61.                 "{ObjDir•PPC}MainWindow.cp.x"            ∂
  62.                 "{ObjDir•PPC}MemoryHandler.c.x"            ∂
  63.                 "{ObjDir•PPC}MenuHandler.cp.x"            ∂
  64.                 "{ObjDir•PPC}ShellWindow.cp.x"            ∂
  65.                 "{ObjDir•PPC}ToolboxUtils.c.x"
  66.  
  67. "ISp_Sample"                ƒƒ                            ∂
  68.                                 {•MondoBuild•}            ∂
  69.                                 {Objects•PPC}
  70.     PPCLink ∂
  71.         -o {Targ} {Sym•PPC} ∂
  72.         {Objects•PPC} ∂
  73.         -t 'APPL' ∂
  74.         -c '????' ∂
  75.         "{SharedLibraries}InterfaceLib" ∂
  76.         "{SharedLibraries}AppearanceLib" ∂
  77.         "{SharedLibraries}InputSprocketLib" ∂
  78.         "{SharedLibraries}StdCLib" ∂
  79.         "{SharedLibraries}MathLib" ∂
  80.         "{PPCLibraries}MrCPlusLib.o" ∂
  81.         "{PPCLibraries}StdCRuntime.o" ∂
  82.         "{PPCLibraries}PPCCRuntime.o" ∂
  83.         "{PPCLibraries}PPCToolLibs.o"
  84.  
  85. "ISp_Sample"                        ƒƒ                                    ∂
  86.                                 {•MondoBuild•}                            ∂
  87.                                 {ResDir}AppShell.r                        ∂
  88.                                 {SrcDir}AppShellResources.h                ∂
  89.                                 {ResDir}AppShell.rsrc
  90.     Rez -a -o {Targ} {ResDir}AppShell.r
  91.  
  92. "ISp_Sample"                        ƒƒ                                    ∂
  93.                                 {•MondoBuild•}                            ∂
  94.                                 {SrcDir}ISp_SampleResources.h            ∂
  95.                                 {ResDir}ISp_Sample.r                    
  96.     Rez -a -o {Targ} {ResDir}ISp_Sample.r
  97.  
  98. "{ObjDir•PPC}AboutBox.c.x"        ƒ                                        ∂
  99.                                 {•MondoBuild•}                            ∂
  100.                                 {SrcDir}AboutBox.c                        ∂
  101.                                 {SrcDir}AboutBox.h                        ∂
  102.                                 {SrcDir}AppShellResources.h
  103.     {DoC} {SrcDir}AboutBox.c -o {Targ} {COpts}
  104.  
  105. "{ObjDir•PPC}AppleEventHandler.c.x"    ƒ                                    ∂
  106.                                 {•MondoBuild•}                            ∂
  107.                                 {SrcDir}AppleEventHandler.c                ∂
  108.                                 {SrcDir}AppleEventHandler.h
  109.     {DoC} {SrcDir}AppleEventHandler.c -o {Targ} {COpts}
  110.  
  111. "{ObjDir•PPC}CModalDialog.cp.x"    ƒ                                        ∂
  112.                                 {•MondoBuild•}                            ∂
  113.                                 {SrcDir}CModalDialog.cp                    ∂
  114.                                 {SrcDir}MemoryHandler.h                    ∂
  115.                                 {SrcDir}CModalDialog.h
  116.     {DoCPP} {SrcDir}CModalDialog.cp -o {Targ} {CPPOpts}
  117.  
  118. "{ObjDir•PPC}ErrorAlert.c.x"    ƒ                                        ∂
  119.                                 {•MondoBuild•}                            ∂
  120.                                 {SrcDir}ErrorAlert.c                    ∂
  121.                                 {SrcDir}ErrorAlert.h
  122.     {DoC} {SrcDir}ErrorAlert.c -o {Targ} {COpts}
  123.  
  124. "{ObjDir•PPC}EventHandler.cp.x"    ƒ                                        ∂
  125.                                 {•MondoBuild•}                            ∂
  126.                                 {SrcDir}EventHandler.cp                    ∂
  127.                                 {SrcDir}AppleEventHandler.h                ∂
  128.                                 {SrcDir}EventHandler.h                    ∂
  129.                                 {SrcDir}MenuHandler.h
  130.     {DoCPP} {SrcDir}EventHandler.cp -o {Targ} {CPPOpts}
  131.  
  132. "{ObjDir•PPC}ISp_Sample.c.x"    ƒ                                        ∂
  133.                                 {•MondoBuild•}                            ∂
  134.                                 {SrcDir}ISp_Sample.c                    ∂
  135.                                 {SrcDir}ISp_Sample.h                    ∂
  136.                                 {SrcDir}ErrorAlert.h
  137.     {DoC} {SrcDir}ISp_Sample.c -o {Targ} {COpts}
  138.  
  139. "{ObjDir•PPC}main.c.x"            ƒ                                        ∂
  140.                                 {•MondoBuild•}                            ∂
  141.                                 {SrcDir}main.c                            ∂
  142.                                 {SrcDir}AppleEventHandler.h                ∂
  143.                                 {SrcDir}AppShellResources.h                ∂
  144.                                 {SrcDir}EventHandler.h                    ∂
  145.                                 {SrcDir}MenuHandler.h
  146.     {DoC} {SrcDir}main.c -o {Targ} {COpts}
  147.  
  148. "{ObjDir•PPC}MainWindow.cp.x"    ƒ                                        ∂
  149.                                 {•MondoBuild•}                            ∂
  150.                                 {SrcDir}MainWindow.cp                    ∂
  151.                                 {SrcDir}MainWindow.h                    ∂
  152.                                 {SrcDir}ErrorAlert.h                    ∂
  153.                                 {SrcDir}ShellWindow.h                    ∂
  154.                                 {SrcDir}ISp_Sample.h
  155.     {DoCPP} {SrcDir}MainWindow.cp -o {Targ} {CPPOpts}
  156.  
  157. "{ObjDir•PPC}MemoryHandler.c.x"    ƒ                                        ∂
  158.                                 {•MondoBuild•}                            ∂
  159.                                 {SrcDir}MemoryHandler.c                    ∂
  160.                                 {SrcDir}MemoryHandler.h
  161.     {DoC} {SrcDir}MemoryHandler.c -o {Targ} {COpts}
  162.  
  163. "{ObjDir•PPC}MenuHandler.cp.x"    ƒ                                        ∂
  164.                                 {•MondoBuild•}                            ∂
  165.                                 {SrcDir}MenuHandler.cp                    ∂
  166.                                 {SrcDir}AboutBox.h                        ∂
  167.                                 {SrcDir}AppShellResources.h                ∂
  168.                                 {SrcDir}EventHandler.h                    ∂
  169.                                 {SrcDir}MemoryHandler.h                    ∂
  170.                                 {SrcDir}ShellWindow.h                    ∂
  171.                                 {SrcDir}MenuHandler.h
  172.     {DoCPP} {SrcDir}MenuHandler.cp -o {Targ} {CPPOpts}
  173.  
  174. "{ObjDir•PPC}ShellWindow.cp.x"    ƒ                                        ∂
  175.                                 {•MondoBuild•}                            ∂
  176.                                 {Srcdir}ShellWindow.cp                    ∂
  177.                                 {SrcDir}ShellWindow.h
  178.     {DoCPP} {SrcDir}ShellWindow.cp -o {Targ} {CPPOpts}
  179.  
  180. "{ObjDir•PPC}ToolboxUtils.c.x"    ƒ                                        ∂
  181.                                 {•MondoBuild•}                            ∂
  182.                                 {SrcDir}ToolboxUtils.c                    ∂
  183.                                 {SrcDir}ToolboxUtils.h
  184.     {DoC} {SrcDir}ToolboxUtils.c -o {Targ} {COpts}
  185.